package com.csdj.t309.papermanage.service;

import com.csdj.t309.papermanage.entity.Paper;
import com.csdj.t309.papermanage.entity.PaperExample;
import com.csdj.t309.papermanage.mapper.PaperMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service("paperService")
public class PaperService {
    @Resource
    private PaperMapper paperMapper;

    public List<Paper> select(){
        return paperMapper.selectByExample(new PaperExample());
    }
}
